{% extends "layout.html.twig" %}
{% block content %}
		<div class="row">
			<div class="col-md-12">
			<h2>Anzahl Anmeldungen für den Event {{ selected_datum.datum|intl_month }}</h2>
			
			
			<table class="table events">
				<thead>
					<tr>
						<td><strong>Datum</strong></td>
						<td><strong>Name</strong></td>
						<td><strong>Status</strong></td>
					</tr>
				</thead>
				<tbody>
				{% for inscription_by_information in inscriptions_by_information %}
					<tr>
	        			<td>{% if inscription_by_information.participate != -1 %} {{ inscription_by_information.datum|date('d-m-Y') }} {% else %} --- {% endif %}</td>
	        			<td>{{ inscription_by_information.firstname }}</td>
	        			<td>
	        				{% if inscription_by_information.participate == -1 %}
	        				offen
	        				{% elseif inscription_by_information.participate == 0 %}
	        				<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
	        				{% else %}
	        				<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
	        				{% endif %}
	        			</td>
        			</tr>
    			{% endfor %}
    			</tbody>
			</table>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				<a class="btn btn-default" type="button" href="{{ path('overview_events') }}">Zurück zur Übersicht</a>
			</div>
		</div>
		
			
{% endblock %}			